﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Xiaov.SmartWeb.Infrastructure.ExtMethod;
namespace Xiaov.SmartWeb.Application.PluginSrc.StatisticalSystem.ReportDesign.Json
{
    public partial class XmlJson : System.Web.UI.Page
    {
        
        protected void Page_Load(object sender, EventArgs e)
        {
            string xml = Request.QueryString["xml"].ToRequestString();
            string xmlpath = "~/PluginSrc/StatisticalSystem/Xml/"+xml;
            Xiaov.SmartWeb.Model.Statistical.XmlHeaderCaption xhc = new Model.Statistical.XmlHeaderCaption();
            Response.Clear();
            Response.Write(xhc.GetList(xmlpath).ToJson());
            Response.End();
        }
    }
}